package com.ecfront.dao;

import java.util.List;

import com.ecfront.pojo.PayGoods;

public interface PayGoodsDAO {

	// property constants
	public static final String PG_PRICE = "price";
	public static final String PG_COUNT = "total";

	public abstract void save(PayGoods transientInstance);

	public abstract void delete(PayGoods persistentInstance);

	public abstract PayGoods findById(java.lang.Integer id);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByPgPrice(Object pgPrice);

	public abstract List findByPgCount(Object pgCount);

	public abstract List findAll();

}